Skip to main content

DiffPatch

Type

function

Summary

Patch a string with a previously computed diff.

Syntax

DiffPatch(<pSource>,<pDiff>)

Description

Apply the diff to the source string, returning an updated string with the diff changes applied.

Parameters

NameTypeDescription

pSource

The original string

pDiff

The diff representing changes to apply to pSource

Examples